docs: Update installation instructions
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 6 Dec 2022 22:13:23 +0000 (22:13 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 6 Dec 2022 22:13:23 +0000 (22:13 +0000)
Mention Meson.

INSTALL.in

index 7a1dcec01e19dc3b1d0619d064b0be9e1268c368..f1c065faa95f942774b6b5afecb3b25786d3438c 100644 (file)
@@ -3,6 +3,8 @@ Prerequisites
 
 GTK+ requires the following packages:
 
+ - Autotools or Meson
+
  - The GLib, Pango, GdkPixbuf, ATK and cairo libraries, available at
    the same location as GTK+. GTK+ @GTK_VERSION@ requires at least
    GLib @GLIB_REQUIRED_VERSION@, Pango @PANGO_REQUIRED_VERSION@,
@@ -19,15 +21,25 @@ GTK+ requires the following packages:
 
  - gobject-introspection @INTROSPECTION_REQUIRED_VERSION@ or newer.
 
-Simple install procedure
-========================
+Simple install procedure for Meson
+==================================
+
+  % tar xf gtk+-@GTK_VERSION@.tar.xz          # unpack the sources
+  % cd gtk+-@GTK_VERSION@                     # change to the toplevel directory
+  % meson setup _build                        # configure GTK+
+  % meson compile -C _build                   # build GTK+
+  [ Become root if necessary ]
+  % meson install -C _build                   # install GTK+
+
+Simple install procedure for Autotools
+======================================
 
   % tar xf gtk+-@GTK_VERSION@.tar.xz          # unpack the sources
   % cd gtk+-@GTK_VERSION@                     # change to the toplevel directory
-  % ./configure                        # run the `configure' script
-  % make                               # build GTK+
+  % ./autogen.sh                              # configure GTK+
+  % make                                      # build GTK+
   [ Become root if necessary ]
-  % make install                       # install GTK+
+  % make install                              # install GTK+
 
 The Details
 ===========
@@ -39,4 +51,4 @@ can be found in the file:
 
 Or online at:
 
- http://library.gnome.org/devel/gtk/stable/gtk-building.html
+ http://developer-old.gnome.org/gtk/3.24/gtk-building.html